Skip to main content

Remove User from Group

AutomatR.AWS.RemoveUserFromGroup

The "Remove User From Group" activity in AutomatR is part of the AWS IAM (Identity and Access Management) Group activities package, enabling automation processes to remove a specified user from a group within AWS IAM. This activity streamlines user management tasks, enhancing the efficiency of automation workflows.

Properties

NameDescription
Input
Access Key IDProvides the encrypted access key ID for your AWS account, enabling connection to the AWS IAM service. String variables containing the access key ID.
Secret Access KeyProvides the encrypted secret access key for your AWS account, enabling connection to the AWS IAM service. String variables containing the secret access key.
RegionSpecifies the region in which the IAM group is located from which you want to remove a user. Use the RegionEndpoint enumeration to set the region.
User NameSpecifies the username of the user that you want to remove from the group. String variables containing the username.
Group NameSpecifies the name of the group from which the user should be removed. String variables containing the group name.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variable or argument containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Remove User From Group" activity. Useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the wait time is 1000 milliseconds or 1 sec, i.e., 1.
Output
ResultOutputs the result of the "Remove User From Group" operation, indicating whether the user was successfully removed from the group or any encountered errors. Variables of relevant types (e.g., Boolean variables) to store the operation result.

How to use:

  1. Drag and drop the "Remove User From Group" activity onto the workflow.
  2. Configure the properties by providing the required inputs, such as access key ID, secret access key, region, username, and group name.
  3. Optionally, configure the delay and customize the display name.
  4. Execute the workflow to remove the specified user from the group.

Example: Consider an example where the "Remove User From Group" activity is used to remove a user named "JohnDoe" from a group named "Developers" in the "us-east-1" region:

Remove User From Group:
Display Name: "Remove JohnDoe From Developers"
Access Key ID: "**************"
Secret Access Key: "**************"
Region: "us-east-1"
User Name: "JohnDoe"
Group Name: "Developers"
Result: isUserRemoved

In this example, the activity removes the user "JohnDoe" from the "Developers" group in the "us-east-1" region. The result of the operation (success or failure) is stored in the Boolean variable "isUserRemoved" for further handling in the workflow.